package com.lanou.service;

import com.lanou.bean.AdminInfo;
import com.lanou.bean.AdminModule;
import com.lanou.bean.ModuleInfo;
import com.lanou.bean.RoleInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dllo on 18/3/9.
 */
public interface AdminInfoService {
    AdminInfo selectAdmin(String username);

    List<AdminModule> selectAdminModule();

    AdminModule selectAllAdmin(int admin_id);


    void delectAdmin(int admin_id);

    void insertAdmin(AdminInfo adminInfo);

    AdminModule selectAdminModuleById(int id);

    void upDataAdminInfo( String name , String namecode,
                         String tel , String email, int adminId);

    void updateAdmin(String adminName,String tele,
                    String email,int adminID);

    void updataPsw(String psw,int adminId);





}
